import BreadcrumbDept from '@/components/BreadcrumbDept';
import { PageContainer } from '@ant-design/pro-layout';
import { Card, Tabs } from 'antd';
import ExamineTab from './examineTab';
import ManageTab from './manageTab';
import RulesTab from './rulesTab';
import './style.less';

const Integral = () => {

  return (
    <PageContainer extra={<BreadcrumbDept />} breadcrumb={{}}>
      <Card bodyStyle={{ padding: '12px 0' }}>
        <Tabs
          type="card"
          destroyInactiveTabPane
          tabBarStyle={{ marginBottom: 6, padding: '0 24px' }}
          defaultActiveKey={'tab1'}
        >
          <Tabs.TabPane key="tab1" tab="积分管理">
            <ManageTab />
          </Tabs.TabPane>
          <Tabs.TabPane key="tab2" tab="积分审批">
            <ExamineTab />
          </Tabs.TabPane>
          <Tabs.TabPane key="tab3" tab="积分规则">
            <RulesTab />
          </Tabs.TabPane>
        </Tabs>
      </Card>
    </PageContainer>
  );
};
export default Integral;
